package exercise6;
public class Candidate {
	 String name;
	 Vote vote;
	 int numberOfCandidates;
	public Candidate(String name, Vote vote) {
		super();
		this.name = name;
		this.vote = vote;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Vote getVote() {
		return vote;
	}
	public void setVote(Vote vote) {
		this.vote = vote;
	}
	public int getNumberOfCandidates() {
		return numberOfCandidates;
	}
	public void setNumberOfCandidates(int numberOfCandidates) {
		this.numberOfCandidates = numberOfCandidates;
	}
	
}
